<%--
  Created by IntelliJ IDEA.
  User: 徐永岳
  Date: 2023/4/10
  Time: 9:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>add page</title>
</head>
<body>
<h1>add page</h1>
<form action="/product/create" method="post"  enctype="multipart/form-data">
    <input type="text" name="title" placeholder="title" value="商品-">
    <br>
    <select name="type">
        <option value="自营">自营</option>
        <option value="第三方">第三方</option>
    </select>
    <br>
    <textarea name="description" cols="35" rows="5" placeholder="描述信息"></textarea>
    <br>
    <input type="number" min="0.00" max="99999.99" step="0.01" name="originalPrice" placeholder="折扣价" >
    <br>
    <input type="number" min="0.00" max="99999.99" step="0.01" name="currentPrice" placeholder="原价" >
    <br>
    <input type="file" name="file" required>
    <br>
    <input type="submit" value="add">
</form>
</body>
</html>
